<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>index页</title>
	<style type="text/css">
	 
    </style>
</head>
<body>
	 <div class="box1">
    <button message="后盾人" class="red">后盾人</button>
    <button message="hdcms">hdcms</button> 
    <button onclick="this.hide()">后盾人</button>
   </div>
	<script type="text/javascript">
		 Object.prototype.hide = function() {
      this.style.display = "none";
    };
   
	</script>

	<script>
		 Object.prototype.hide = function() {
	      alert('哈哈 覆盖了')
	    };
	</script>
</body>
</html>